package com.ctshk.rpc.localfun.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 * 门票票号
 * </p>
 *
 * @author wangcy
 * @since 2021-02-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_local_fun_product_ticket")
@ApiModel(value="LocalFunProductTicket对象", description="门票票号")
public class LocalFunProductTicket extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    private String stockNumber;

    @ApiModelProperty(value = "所属库存")
    private Long stockId;

    @ApiModelProperty(value = "所属策略")
    private Long strategyId;

    @ApiModelProperty(value = "所属产品")
    private Long productId;

    @ApiModelProperty(value = "属性1ID")
    private Long attr1Id;

    @ApiModelProperty(value = "属性1名称")
    private String attr1Name;

    @ApiModelProperty(value = "属性2ID")
    private Long attr2Id;

    @ApiModelProperty(value = "属性2名称")
    private String attr2Name;

    @ApiModelProperty(value = "供应商票号")
    private String supplierTicketNumber;

    @ApiModelProperty(value = "使用部门")
    private Long departmentId;

    @ApiModelProperty(value = "部门名称")
    private String departmentName;

    @ApiModelProperty(value = "所属销售ID")
    private Long salerId;

    @ApiModelProperty(value = "销售姓名")
    private String salerName;

    @ApiModelProperty(value = "销售单号")
    private String saleNumber;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "出售时间")
    private LocalDateTime soldTime;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
